//Mainwindow.cpp
//Replacement main.cpp, used for graphical usage
#include "MainWindow.h"
#include "cards.h"
#include "deck.h"

DECLARE_APP(MainWindow)

IMPLEMENT_APP(MainWindow)


//treat this as int main()
bool MainWindow::OnInit()
{
  frame = new EventFrame();//NULL, -1, wxT("Pokercards"));
  frame->Show(true);
  srand(time(0));
  //wxInitAllImageHandlers();
  //Deck newDeck;
  //newDeck.PrintDeck();
  //Blackjack bj = Blackjack(2);
  //bj.Play();



  return true;
}
